package uk.co.agileworks.bidpirate.service;

import org.joda.time.DateTime;

import uk.co.agileworks.bidpirate.model.CurrencyAndPrice;
import uk.co.agileworks.bidpirate.model.Item;

public interface EbayFacade {

	CurrencyAndPrice extractCurrencyAndPrice(String currencyAndPriceText);

	String extractDescription(String title);

	DateTime extractEndTime(String title);

	String extractImageUrl(String imageSrc);

	long extractItemNumber(String titleOrUrl);

	String getItemUrl(long itemNumber);

	EbaySession newEbaySession();

	String parseCurrencyAndPriceOnly(String itemUrl);

	Item parseItem(String itemUrl);

}
